
// 下拉框
<div class="navText select" @click="window.location.href='/'" @mouseover="enterButton" @mouseout="outButton">
          home
          <div class="downBox">
            <div class="downItem" @click.stop="indexClickTap('about')">About Us</div>
            <div class="downItem" @click.stop="indexClickTap('contact')">Contact</div>
          </div>
        </div>
<script>
// enterButton:function(){
//   document.querySelector('.downBox').style.height='auto'
// },
// outButton:function(){
//   document.querySelector('.downBox').style.height='0'
// }
</script>
<style>
.downBox{
  height: 0;
  overflow: hidden;
}
</style>
